from flask import Flask, Blueprint

from applications.view.customer.raw import  bp as custom_raw_bp
from applications.view.customer.finished import bp as custom_finished_bp
# 创建sys
customer_bp = Blueprint('customer', __name__, url_prefix='/customer')


def register_customer_bps(app: Flask):
    # 在admin_bp下注册子蓝图
    customer_bp.register_blueprint(custom_raw_bp)
    customer_bp.register_blueprint(custom_finished_bp)



    app.register_blueprint(customer_bp)